package com.dailyblue.project.smbms.alibaba.goods.feign;

import com.dailyblue.project.smbms.alibaba.commons.bean.Provider;
import com.dailyblue.project.smbms.alibaba.commons.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "smbms-provider")
public interface ProviderFeign {
    @GetMapping("/provider/id/{id}")
    JsonResult findById(@PathVariable("id") Integer id);
}
